.class public Lcom/estrongs/android/ui/autobackup/activity/AutoBackupFolderChooseActivity;
.super Lcom/estrongs/android/ui/autobackup/activity/BaseAutoBackupActivity;
.source "AutoBackupFolderChooseActivity.java"


# instance fields
.field private j:Lcom/estrongs/android/view/FileGridViewWrapper;
    .annotation build Landroidx/annotation/NonNull;
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/autobackup/activity/BaseAutoBackupActivity;-><init>()V

    return-void
.end method

.method public static a(Landroidx/fragment/app/Fragment;II)V
    .locals 3

    .line 1
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    .line 2
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/estrongs/android/ui/autobackup/activity/AutoBackupFolderChooseActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/4 v0, 0x2

    if-ne p1, v0, :cond_0

    const/4 p1, 0x1

    :cond_0
    const-string v0, "CHOOSE_MODE"

    .line 3
    invoke-virtual {v1, v0, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 4
    invoke-virtual {p0, v1, p2}, Landroidx/fragment/app/Fragment;->startActivityForResult(Landroid/content/Intent;I)V

    return-void
.end method


# virtual methods
.method public onBackPressed()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/autobackup/activity/AutoBackupFolderChooseActivity;->j:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->onBackPressed()Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-super {p0}, Landroidx/activity/ComponentActivity;->onBackPressed()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const-string v0, "CHOOSE_MODE"

    const/4 v1, -0x1

    .line 3
    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result p1

    const/4 v0, 0x3

    if-eq p1, v0, :cond_1

    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    goto :goto_0

    .line 4
    :cond_0
    new-instance v0, Lcom/estrongs/android/view/n;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/view/n;-><init>(Landroid/content/Context;I)V

    iput-object v0, p0, Lcom/estrongs/android/ui/autobackup/activity/AutoBackupFolderChooseActivity;->j:Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_1

    .line 5
    :cond_1
    :goto_0
    new-instance v0, Lcom/estrongs/android/view/o;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/view/o;-><init>(Landroid/app/Activity;I)V

    iput-object v0, p0, Lcom/estrongs/android/ui/autobackup/activity/AutoBackupFolderChooseActivity;->j:Lcom/estrongs/android/view/FileGridViewWrapper;

    .line 6
    :goto_1
    iget-object p1, p0, Lcom/estrongs/android/ui/autobackup/activity/AutoBackupFolderChooseActivity;->j:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object p1

    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->setContentView(Landroid/view/View;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/autobackup/activity/AutoBackupFolderChooseActivity;->j:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->v0()V

    return-void
.end method

.method protected onSaveInstanceState(Landroid/os/Bundle;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->onSaveInstanceState(Landroid/os/Bundle;)V

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/ui/autobackup/activity/AutoBackupFolderChooseActivity;->j:Lcom/estrongs/android/view/FileGridViewWrapper;

    check-cast p1, Lcom/estrongs/android/ui/autobackup/activity/b;

    invoke-static {}, Lcom/estrongs/android/ui/autobackup/activity/a;->a()Lcom/estrongs/android/ui/autobackup/activity/a;

    move-result-object v0

    invoke-interface {p1, v0}, Lcom/estrongs/android/ui/autobackup/activity/b;->a(Lcom/estrongs/android/ui/autobackup/activity/a;)V

    return-void
.end method
